package com.homework.g2021;

//public class Fenghuang {
//	private Integer id;
//	
//}
public class Fenghuang implements IFlyable{
	private Integer id;

	@Override
	public String toString() {
		return "凤凰: id="+id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public void fly() {
		System.out.println("id="+id+"凤凰飞   ");
	}
	
}